package com.reggie.service.model.request;

import com.reggie.common.model.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 订单查询条件
 *
 * @author yth
 * @since 2023-02-12-1:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrdersPageRequest extends PageRequest {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 订单号
     */
    private String number;

    /**
     * 开始时间
     */
    private LocalDateTime beginTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

}
